package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Member;
import cn.wolfcode.crm.util.MemberAnalysisInfoJson;

/**
 * @author 丧彪
 */
public interface IMemberService extends BaseService<Member>{

    /**
     * 会员卡的挂失和恢复
     * @param id
     */
    void changeState(Long id);

    void changePassword(Long id, String newpassword);

    /*
    * 会员卡查询会员信息
    * */
    Member queryByCardno(Long cardno);

    /**
     *
     * @return 会员列表四统计框信息
     */
    MemberAnalysisInfoJson analysisInfo();

    void changeCardno(Long id, Long cardno);
}
